import request from '@/utils/request'
import base from '@/api/base'

/**
 *  @获取告警分页
 */
export function getAlarmPage(data) {
    return request({
        method: 'post',
        url: base.WU + '/alarm/page',
        data
    })
}

/**
 *  @获取告警列表
 */
export function getAlarmList() {
    return request({
        method: 'get',
        url: base.WU + '/alarm'
    })
}
